import { createRouter, createWebHashHistory } from "vue-router";

const routes = [
    {
        redirect:'/menu',
        component: ()=> import('@/layout/index.vue')
    },
    {
        path:'/menu',
        name:'menu',
        component: ()=> import('@/layout/index.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router